import request from '@/utils/request'

const API_NAME = '/admin/system/sysLoginLog'

export default{
     // 分页查询岗位信息
     getPageList(page, limit, searchObj) {
        return request({
            url: `${API_NAME}/${page}/${limit}`,
            method: 'get',
            params: searchObj
        })
    },
    // 根据岗位id查询岗位信息
    getLoginLogById(id) {
        return request({
            url: `${API_NAME}/get/${id}`,
            method: 'get',
        })
    }
}